using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using FrameOperateSync;

public class KeycodeOperateData : IRenderData
{
    public bool keycodeFlag;
    public KeyCode keyCode;
    public float deltaTime;

    public static KeycodeOperateData Create(bool flag, KeyCode code)
    {
        return new KeycodeOperateData()
        {
            keycodeFlag = flag,
            keyCode = code,
            deltaTime = Time.deltaTime,
        };
    }
}




